package com.tudouji.project.harvest.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 货运单相关操作的位置信息对象 op_location
 * 
 * @author tudouji
 * @date 2022-10-27
 */
public class OpLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String focode;

    /** 操作类型1-扫码拉货2-扫码卸货3-上传证照 */
    @Excel(name = "操作类型1-扫码拉货2-扫码卸货3-上传证照")
    private String operationtype;

    /** OperationType=3的时候记录上传证照的URL */
    @Excel(name = "OperationType=3的时候记录上传证照的URL")
    private String imageurl;

    /** 操作纬度 */
    @Excel(name = "操作纬度")
    private String opLatitude;

    /** 操作经度 */
    @Excel(name = "操作经度")
    private String opLongitude;

    /** 目标纬度 */
    @Excel(name = "目标纬度")
    private String taLatitude;

    /** 目标经度 */
    @Excel(name = "目标经度")
    private String taLongitude;

    /** 操作地与目标距离 */
    @Excel(name = "操作地与目标距离")
    private String distance;

    /** 操作人员姓名 */
    @Excel(name = "操作人员姓名")
    private String operatorname;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 操作位置 */
    @Excel(name = "操作位置")
    private String address;

    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setFocode(String focode) 
    {
        this.focode = focode;
    }

    public String getFocode() 
    {
        return focode;
    }
    public void setOperationtype(String operationtype) 
    {
        this.operationtype = operationtype;
    }

    public String getOperationtype() 
    {
        return operationtype;
    }
    public void setImageurl(String imageurl) 
    {
        this.imageurl = imageurl;
    }

    public String getImageurl() 
    {
        return imageurl;
    }
    public void setOpLatitude(String opLatitude) 
    {
        this.opLatitude = opLatitude;
    }

    public String getOpLatitude() 
    {
        return opLatitude;
    }
    public void setOpLongitude(String opLongitude) 
    {
        this.opLongitude = opLongitude;
    }

    public String getOpLongitude() 
    {
        return opLongitude;
    }
    public void setTaLatitude(String taLatitude) 
    {
        this.taLatitude = taLatitude;
    }

    public String getTaLatitude() 
    {
        return taLatitude;
    }
    public void setTaLongitude(String taLongitude) 
    {
        this.taLongitude = taLongitude;
    }

    public String getTaLongitude() 
    {
        return taLongitude;
    }
    public void setDistance(String distance) 
    {
        this.distance = distance;
    }

    public String getDistance() 
    {
        return distance;
    }
    public void setOperatorname(String operatorname) 
    {
        this.operatorname = operatorname;
    }

    public String getOperatorname() 
    {
        return operatorname;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("focode", getFocode())
            .append("operationtype", getOperationtype())
            .append("imageurl", getImageurl())
            .append("opLatitude", getOpLatitude())
            .append("opLongitude", getOpLongitude())
            .append("taLatitude", getTaLatitude())
            .append("taLongitude", getTaLongitude())
            .append("distance", getDistance())
            .append("operatorname", getOperatorname())
            .append("createdate", getCreatedate())
            .append("address", getAddress())
            .toString();
    }
}
